package xcmg.device.dao.mapper.company;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.company.ClientReceiverInfoDO;
import xcmg.device.service.vo.company.ClientReceiverInfoVO;

/**
 * @author wangyong
 */
@Mapper
public interface ClientReceiverInfoMapper {

  /**
   * 获取客户的收货信息
   *
   * @param clientReceiverInfoVO
   * @return
   */
  List<ClientReceiverInfoDO> list(ClientReceiverInfoVO clientReceiverInfoVO);
  /**
   * 获取客户的收货信息
   *
   * @param id
   * @return
   */
  ClientReceiverInfoDO selectById(@Param("id") String id);

  /**
   * 删除客户收货信息
   *
   * @param id
   * @return
   */
  Integer deleteById(@Param("id") String id);

  /**
   * 添加客户收货信息
   *
   * @param clientReceiverInfoDO
   * @return
   */
  Integer insert(ClientReceiverInfoDO clientReceiverInfoDO);

  Integer update(ClientReceiverInfoDO clientReceiverInfoDO);


  Integer getNextCodeSeq();
}
